<template>
  <div class="text-container">
    <Pager :current="current" :total="500" @pageChange="handleChange($event)" />
  </div>
</template>

<script>
import Pager from "./index.vue";
export default {
  components: {
    Pager,
  },
  data() {
    return {
      current: 1,
    };
  },
  methods: {
    handleChange(newpage) {
      this.current = newpage;
    },
  },
};
</script>

<style>
</style>